package com.stack.admin.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.stack.model.admin.dtos.AdSensitiveDto;
import com.stack.model.admin.dtos.PageQueryDto;
import com.stack.model.admin.pojos.AdSensitive;
import com.stack.model.admin.pojos.AdUser;
import com.stack.model.common.dtos.ResponseResult;

/**
 * @author llz
 * @date 2023/11/14 20:53
 * @description
 */
public interface AdSensitiveService extends IService<AdSensitive> {


    /**
     * 获取敏感词列表
     * @return
     */
    ResponseResult getSensitiveWordList(PageQueryDto pageQueryDto);

    /**
     * 保存敏感词
     * @param dto
     * @return
     */
    ResponseResult saveSensitiveWord(AdSensitiveDto dto);

    /**
     * 修改敏感词
     * @param dto
     * @return
     */
    ResponseResult updateSensitiveWord(AdSensitiveDto dto);

    /**
     * 删除敏感词
     * @param id
     * @return
     */
    ResponseResult deleteSensitiveWord(Long id);
}
